package com.bjc.scheduler.elasticjob.quickstart.model;

import lombok.Data;

/**
 * @program: elastic-job-quickstart
 * @description:
 * @author: bjc
 * @create: 2021-08-15 19:53
 */
@Data
public class FileCustom {

    /**
     * 标识
     */
    private String id;

    /**
     * 文件名
     */
    private String name;

    /**
     * 文件类型，如text,image,radio,video
     */
    private String type;

    /**
     * 文件内容
     */
    private String content;

    /**
     * 是否已备份
     */
    private Boolean backUp = false;

    public FileCustom(String id, String name, String type, String content) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.content = content;
    }
}
